'Declaration
Public Overloads Shared Function Encrypt( _ ByVal keyStore As DataProtectionStore, _ ByVal plainBytes() As Byte, _ ByVal entropy() As Byte _ ) As Byte()
public static byte[] Encrypt( DataProtectionStore keyStore, byte[] plainBytes, byte[] entropy )
It is important not to lose the entropy used to encrypt this data. If the entropy is lost, the data cannot be decrypted. If the entropy must be stored, do not store it with the encrypted payload.
WARNING: The encryption produced by this class is only usable from the machine on which the encryption occurred. The encrypted text cannot be used by a different computer.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family